<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./js/jquery2.2.4.js"></script>
<body>
    <div>1111111</div>
    
</body>
<script>
    $.ajax({
        url:"http://localhost:3000/homebase.json",
        dataType:"json",
        success:function(res){
            console.log(res);
           const div = document.querySelector('div');
           for(let i=0 ;i<res.length;i++){
               const img = document.createElement('img');
               div.appendChild(img);
            img.setAttribute('src',`${res[i].src}`);
           }
           
        }
    })
</script>
</html>